package com.kwan.xframe.api;

import java.util.HashMap;

/**
 * Created by Mr.Kwan on 2016-4-7.
 */

public interface DataSubscriberListener<T> {

	void onDataCompleted(int vocational_id, HashMap<String, Object> exData);

	void onDataError(int vocational_id, HashMap<String, Object> exData, Throwable throwable);

	void onDataNext(int vocational_id, HashMap<String, Object> exData, T data);

}
